Repository navigation
Fold part 3 to the chosen approach, keep its language tabs in reach - #7
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
- Each part 3 solution's heading is a disclosure button (aria-expanded, aria-controls). The approach chosen in 2·1 starts open, the others fold to their heading; choosing another approach opens it too. Folds hold across the five language panes, a page-language switch and deep links. Copy still copies a folded solution. - The part 3 language tabs stick under the masthead until part 3 ends. - On phones the language tabs keep to one row (two rows of touch-sized tabs made a 94px sticky bar) and scroll sideways only at ~320px, where the selected tab is kept in view without moving the page.
devmtnaing
force-pushed
the
part3-collapse-sticky-langs
branch
from
September 28, 2026 06:24
b382fd8 to
2ae61bd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Item 12 from the x-sum UI/UX review. Part 3 was the longest part of every page: 1,582px on x-sum, with every approach's full listing open. The change is in the shared stepper and
lesson.css, so all 46 lessons get it.Solutions fold to the approach you're studying
h3(the standard accordion pattern), witharia-expanded,aria-controlsand a chevron.?approach=heap, Shareable walkthrough links #6) opens that approach's solution.The language tabs stay visible
Checked
npm run check,npm run build, thennpm run audit(axe in both themes): passed, 46 pages.